package org.dizem.intellipainter.model;

/**
 * User: dizem@126.com
 * Time: 12-2-18 下午6:13
 */
public enum ToolType {
	Pen("铅笔", true), Brush("刷子", false), Fill("填充", false),
	Text("文字", true), Eraser("擦除", true), PickColor("取色", true);
	private final String text;
	private final boolean enable;


	ToolType(String text, boolean enable) {
		this.text = text;
		this.enable = enable;
	}

	public String getText() {
		return text;
	}

	public boolean isEnable() {
		return enable;
	}
}
